package com.link2room.ironhide.feign.bumblebee;

import com.link2room.bumblebee.dto.result.base.TagBaseDto;
import com.link2room.common.dto.result.base.BaseResultDto;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author sqj88
 * @date 2017/11/7 21:50
 */
@FeignClient("${spring.gateway.name}/${feign.bumblebee}")
public interface TagBaseFeignService {
    /**
     * 获取PMS预定参数
     * @param paramMap
     * @return
     * @throws Exception
     */
    @RequestMapping(method = RequestMethod.GET,value = "/in/TagBases",consumes = MediaType.APPLICATION_JSON_VALUE)
    BaseResultDto<TagBaseDto> getTagBaseList(@RequestParam Map<String, Object> paramMap)throws Exception;
}
